{% extends "base.html" %}
{% load i18n %}

{% block page-title %}{% trans "Starred bookings" %}{% endblock %}

{% block navigation %}
  {% activetab "main" "dashboard" %}
  {{ block.super }}
{% endblock %}

{% block sub-navigation %}
  <ul>
    <li><a href="{% url inhouse.views.starred_bookings %}" style="font-weight: bold;">{% trans "Starred bookings" %}</a></li>
      <li><a href="{% url inhouse.views.show_messages %}">{% trans "Messages" %}</a></li>
    <li><a href="/dashboard/news">{% trans "News" %}</a></li>
  </ul>
{% endblock %}

{% block content %}
  <div id="bookings" class="default-list">
    <div class="pagination">
    </div>
    <table id="booking-list" class="default-table">
      <thead>
        {% include "starred_booking_heading.html" %}
      </thead>
      <tbody>
        {% for booking in bookings.object_list %}
          {% include "starred_booking_row.html" %}
        {% empty %}
          <tr><td class="first last" colspan="11">{% trans "No entries found" %}</td></tr>
        {% endfor %}
      </tbody>
    </table>
    <div class="pagination">
      {% include "pagination.html" with objects=bookings %}
    </div>
  </div>
{% endblock %}
